<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.7"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>netLink C++ 11: netLink::MsgPackSocket Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">netLink C++ 11
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.7 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>netLink</b></li><li class="navelem"><a class="el" href="classnet_link_1_1_msg_pack_socket.html">MsgPackSocket</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classnet_link_1_1_msg_pack_socket-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">netLink::MsgPackSocket Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="classnet_link_1_1_socket.html" title="Socket and stream buffer.">Socket</a> with MsgPack abstraction layer.  
 <a href="classnet_link_1_1_msg_pack_socket.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_msg_pack_socket_8h_source.html">MsgPackSocket.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for netLink::MsgPackSocket:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classnet_link_1_1_msg_pack_socket.png" usemap="#netLink::MsgPackSocket_map" alt=""/>
  <map id="netLink::MsgPackSocket_map" name="netLink::MsgPackSocket_map">
<area href="classnet_link_1_1_socket.html" title="Socket and stream buffer." alt="netLink::Socket" shape="rect" coords="0,56,148,80"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a49a9f33a25e4fd1f775bf81980a21bc0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classnet_link_1_1_msg_pack_socket.html">MsgPackSocket</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_link_1_1_msg_pack_socket.html#a49a9f33a25e4fd1f775bf81980a21bc0">operator&lt;&lt;</a> (std::unique_ptr&lt; <a class="el" href="class_msg_pack_1_1_element.html">MsgPack::Element</a> &gt; element)</td></tr>
<tr class="separator:a49a9f33a25e4fd1f775bf81980a21bc0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classnet_link_1_1_socket"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classnet_link_1_1_socket')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classnet_link_1_1_socket.html">netLink::Socket</a></td></tr>
<tr class="memitem:a571f756f8aa4f199cc7cc8db313bde98 inherit pub_methods_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_link_1_1_socket.html#a571f756f8aa4f199cc7cc8db313bde98">initAsTcpClient</a> (const std::string &amp;<a class="el" href="classnet_link_1_1_socket.html#a956e599cb177baf7f24f3cea2f5a475b">hostRemote</a>, unsigned <a class="el" href="classnet_link_1_1_socket.html#af16d02ebbad7e45dce6a68f3e60cb89d">portRemote</a>, bool waitUntilConnected=false)</td></tr>
<tr class="separator:a571f756f8aa4f199cc7cc8db313bde98 inherit pub_methods_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a477d9c082e3c7636bb7e103e8d617e11 inherit pub_methods_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_link_1_1_socket.html#a477d9c082e3c7636bb7e103e8d617e11">initAsTcpServer</a> (const std::string &amp;<a class="el" href="classnet_link_1_1_socket.html#a0c33dad2df50e579373db5f1de32789b">hostLocal</a>, unsigned <a class="el" href="classnet_link_1_1_socket.html#a5f595f82acb8d2c13ffd53e48346a53f">portLocal</a>, unsigned listenQueue=16)</td></tr>
<tr class="separator:a477d9c082e3c7636bb7e103e8d617e11 inherit pub_methods_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a579fee22b3df524283e0462f0ce4eb6a inherit pub_methods_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_link_1_1_socket.html#a579fee22b3df524283e0462f0ce4eb6a">initAsUdpPeer</a> (const std::string &amp;<a class="el" href="classnet_link_1_1_socket.html#a0c33dad2df50e579373db5f1de32789b">hostLocal</a>, unsigned <a class="el" href="classnet_link_1_1_socket.html#a5f595f82acb8d2c13ffd53e48346a53f">portLocal</a>)</td></tr>
<tr class="separator:a579fee22b3df524283e0462f0ce4eb6a inherit pub_methods_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0007fa1cf09e1d324a40740460f975e9 inherit pub_methods_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classnet_link_1_1_socket.html#adffee851ad5d6175260d1a49e9b032ee">IPVersion</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getIPVersion</b> () const</td></tr>
<tr class="memdesc:a0007fa1cf09e1d324a40740460f975e9 inherit pub_methods_classnet_link_1_1_socket"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the IPVersion of the socket. <br /></td></tr>
<tr class="separator:a0007fa1cf09e1d324a40740460f975e9 inherit pub_methods_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a904a83ca162708b193be85c9b310cba7 inherit pub_methods_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classnet_link_1_1_socket.html#a9757ba19d83716e413fdc2ce324c53ed">Type</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getType</b> () const</td></tr>
<tr class="memdesc:a904a83ca162708b193be85c9b310cba7 inherit pub_methods_classnet_link_1_1_socket"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the SocketType of the socket. <br /></td></tr>
<tr class="separator:a904a83ca162708b193be85c9b310cba7 inherit pub_methods_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ab9daab65cd5f2f0402c46785858024 inherit pub_methods_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classnet_link_1_1_socket.html#a97d865489970e8bad3122107b819292e">Status</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getStatus</b> () const</td></tr>
<tr class="memdesc:a5ab9daab65cd5f2f0402c46785858024 inherit pub_methods_classnet_link_1_1_socket"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the SocketStatus of the socket. <br /></td></tr>
<tr class="separator:a5ab9daab65cd5f2f0402c46785858024 inherit pub_methods_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45b84b56d91ba13f163e27c8a5f5b5d7 inherit pub_methods_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">std::streamsize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_link_1_1_socket.html#a45b84b56d91ba13f163e27c8a5f5b5d7">showmanyc</a> ()</td></tr>
<tr class="separator:a45b84b56d91ba13f163e27c8a5f5b5d7 inherit pub_methods_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37881f83ff1b3e38033ac11896a8121c inherit pub_methods_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">std::streamsize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_link_1_1_socket.html#a37881f83ff1b3e38033ac11896a8121c">receive</a> (char_type *buffer, std::streamsize size)</td></tr>
<tr class="separator:a37881f83ff1b3e38033ac11896a8121c inherit pub_methods_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a030ae9949ab2d23ece036dac7aae42d4 inherit pub_methods_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">std::streamsize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_link_1_1_socket.html#a030ae9949ab2d23ece036dac7aae42d4">send</a> (const char_type *buffer, std::streamsize size)</td></tr>
<tr class="separator:a030ae9949ab2d23ece036dac7aae42d4 inherit pub_methods_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3816a9a6221d3007a78e4d21e24f6166 inherit pub_methods_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">std::streamsize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_link_1_1_socket.html#a3816a9a6221d3007a78e4d21e24f6166">redirect</a> (const std::vector&lt; std::shared_ptr&lt; <a class="el" href="classnet_link_1_1_socket.html">Socket</a> &gt; &gt; &amp;destinations)</td></tr>
<tr class="separator:a3816a9a6221d3007a78e4d21e24f6166 inherit pub_methods_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a160f1b17b2591bd5b0f0f4799d1605 inherit pub_methods_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">
std::streamsize&#160;</td><td class="memItemRight" valign="bottom"><b>getInputBufferSize</b> ()</td></tr>
<tr class="memdesc:a2a160f1b17b2591bd5b0f0f4799d1605 inherit pub_methods_classnet_link_1_1_socket"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the size of the input intermediate buffer in bytes. <br /></td></tr>
<tr class="separator:a2a160f1b17b2591bd5b0f0f4799d1605 inherit pub_methods_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af992596ec1a9f0fd75b333729fc199a0 inherit pub_methods_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">
std::streamsize&#160;</td><td class="memItemRight" valign="bottom"><b>getOutputBufferSize</b> ()</td></tr>
<tr class="memdesc:af992596ec1a9f0fd75b333729fc199a0 inherit pub_methods_classnet_link_1_1_socket"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the size of the output intermediate buffer in bytes. <br /></td></tr>
<tr class="separator:af992596ec1a9f0fd75b333729fc199a0 inherit pub_methods_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4b53976793d839ae1d09278e8cfcd2e inherit pub_methods_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">
void&#160;</td><td class="memItemRight" valign="bottom"><b>setInputBufferSize</b> (std::streamsize size)</td></tr>
<tr class="memdesc:ab4b53976793d839ae1d09278e8cfcd2e inherit pub_methods_classnet_link_1_1_socket"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the size of the input intermediate buffer in bytes (unread contents are lost) <br /></td></tr>
<tr class="separator:ab4b53976793d839ae1d09278e8cfcd2e inherit pub_methods_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39727b2cb0245111f492cc21bc622827 inherit pub_methods_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">
void&#160;</td><td class="memItemRight" valign="bottom"><b>setOutputBufferSize</b> (std::streamsize size)</td></tr>
<tr class="memdesc:a39727b2cb0245111f492cc21bc622827 inherit pub_methods_classnet_link_1_1_socket"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the size of the output intermediate buffer in bytes (unwritten contents are lost) <br /></td></tr>
<tr class="separator:a39727b2cb0245111f492cc21bc622827 inherit pub_methods_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f19bae6289683c2f41084db0989155b inherit pub_methods_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_link_1_1_socket.html#a7f19bae6289683c2f41084db0989155b">setBlockingMode</a> (bool blocking)</td></tr>
<tr class="separator:a7f19bae6289683c2f41084db0989155b inherit pub_methods_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19b1ff35f08e984080e80d24db94b989 inherit pub_methods_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_link_1_1_socket.html#a19b1ff35f08e984080e80d24db94b989">setBroadcast</a> (bool active)</td></tr>
<tr class="separator:a19b1ff35f08e984080e80d24db94b989 inherit pub_methods_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8aea124f7c80dcc802fb60fef34523a inherit pub_methods_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_link_1_1_socket.html#ab8aea124f7c80dcc802fb60fef34523a">setMulticastGroup</a> (const std::string &amp;address, bool join)</td></tr>
<tr class="separator:ab8aea124f7c80dcc802fb60fef34523a inherit pub_methods_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bfd52a5caebfc57f459754885160bcc inherit pub_methods_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; <a class="el" href="classnet_link_1_1_socket.html">Socket</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_link_1_1_socket.html#a4bfd52a5caebfc57f459754885160bcc">accept</a> ()</td></tr>
<tr class="separator:a4bfd52a5caebfc57f459754885160bcc inherit pub_methods_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac078338471cceaa79e6dbfac1926cf59 inherit pub_methods_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">
void&#160;</td><td class="memItemRight" valign="bottom"><b>disconnect</b> ()</td></tr>
<tr class="memdesc:ac078338471cceaa79e6dbfac1926cf59 inherit pub_methods_classnet_link_1_1_socket"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disconnects the socket, deletes the intermediate buffers and sets the handle to -1. <br /></td></tr>
<tr class="separator:ac078338471cceaa79e6dbfac1926cf59 inherit pub_methods_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ca18424fecd2dfdf3f6e5a0c750fd5f inherit pub_methods_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">
void&#160;</td><td class="memItemRight" valign="bottom"><b>disconnectOnError</b> ()</td></tr>
<tr class="memdesc:a2ca18424fecd2dfdf3f6e5a0c750fd5f inherit pub_methods_classnet_link_1_1_socket"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if there is a problem with this socket and disconnect in case there is one. <br /></td></tr>
<tr class="separator:a2ca18424fecd2dfdf3f6e5a0c750fd5f inherit pub_methods_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:adf4fb653dfbad8ff0620e0c96e732e49"><td class="memItemLeft" align="right" valign="top"><a id="adf4fb653dfbad8ff0620e0c96e732e49" name="adf4fb653dfbad8ff0620e0c96e732e49"></a>
std::queue&lt; std::unique_ptr&lt; <a class="el" href="class_msg_pack_1_1_element.html">MsgPack::Element</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>queue</b></td></tr>
<tr class="memdesc:adf4fb653dfbad8ff0620e0c96e732e49"><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal queue of elements to be serialized and sent. <br /></td></tr>
<tr class="separator:adf4fb653dfbad8ff0620e0c96e732e49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af35385dd3d366434d4f95c420be44232"><td class="memItemLeft" align="right" valign="top"><a id="af35385dd3d366434d4f95c420be44232" name="af35385dd3d366434d4f95c420be44232"></a>
<a class="el" href="class_msg_pack_1_1_serializer.html">MsgPack::Serializer</a>&#160;</td><td class="memItemRight" valign="bottom"><b>serializer</b></td></tr>
<tr class="memdesc:af35385dd3d366434d4f95c420be44232"><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal MsgPack serializer. <br /></td></tr>
<tr class="separator:af35385dd3d366434d4f95c420be44232"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1cdbdcd5bdab709a10c730aabbed7e0"><td class="memItemLeft" align="right" valign="top"><a id="aa1cdbdcd5bdab709a10c730aabbed7e0" name="aa1cdbdcd5bdab709a10c730aabbed7e0"></a>
<a class="el" href="class_msg_pack_1_1_deserializer.html">MsgPack::Deserializer</a>&#160;</td><td class="memItemRight" valign="bottom"><b>deserializer</b></td></tr>
<tr class="memdesc:aa1cdbdcd5bdab709a10c730aabbed7e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal MsgPack deserializer. <br /></td></tr>
<tr class="separator:aa1cdbdcd5bdab709a10c730aabbed7e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_classnet_link_1_1_socket"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classnet_link_1_1_socket')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="classnet_link_1_1_socket.html">netLink::Socket</a></td></tr>
<tr class="memitem:a6c9c8a24279538cd7e82556329d97e4d inherit pub_attribs_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">
std::set&lt; std::shared_ptr&lt; <a class="el" href="classnet_link_1_1_socket.html">Socket</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>clients</b></td></tr>
<tr class="memdesc:a6c9c8a24279538cd7e82556329d97e4d inherit pub_attribs_classnet_link_1_1_socket"><td class="mdescLeft">&#160;</td><td class="mdescRight">Client sockets of a server. <br /></td></tr>
<tr class="separator:a6c9c8a24279538cd7e82556329d97e4d inherit pub_attribs_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c33dad2df50e579373db5f1de32789b inherit pub_attribs_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>hostLocal</b></td></tr>
<tr class="memdesc:a0c33dad2df50e579373db5f1de32789b inherit pub_attribs_classnet_link_1_1_socket"><td class="mdescLeft">&#160;</td><td class="mdescRight">Host string of local. <br /></td></tr>
<tr class="separator:a0c33dad2df50e579373db5f1de32789b inherit pub_attribs_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a956e599cb177baf7f24f3cea2f5a475b inherit pub_attribs_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>hostRemote</b></td></tr>
<tr class="memdesc:a956e599cb177baf7f24f3cea2f5a475b inherit pub_attribs_classnet_link_1_1_socket"><td class="mdescLeft">&#160;</td><td class="mdescRight">Host string of remote. <br /></td></tr>
<tr class="separator:a956e599cb177baf7f24f3cea2f5a475b inherit pub_attribs_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f595f82acb8d2c13ffd53e48346a53f inherit pub_attribs_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>portLocal</b></td></tr>
<tr class="memdesc:a5f595f82acb8d2c13ffd53e48346a53f inherit pub_attribs_classnet_link_1_1_socket"><td class="mdescLeft">&#160;</td><td class="mdescRight">Port of local. <br /></td></tr>
<tr class="separator:a5f595f82acb8d2c13ffd53e48346a53f inherit pub_attribs_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af16d02ebbad7e45dce6a68f3e60cb89d inherit pub_attribs_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>portRemote</b></td></tr>
<tr class="memdesc:af16d02ebbad7e45dce6a68f3e60cb89d inherit pub_attribs_classnet_link_1_1_socket"><td class="mdescLeft">&#160;</td><td class="mdescRight">Port of remote. <br /></td></tr>
<tr class="separator:af16d02ebbad7e45dce6a68f3e60cb89d inherit pub_attribs_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-methods" name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a937130fd4b536e8956a373c5a01f0f6e"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; <a class="el" href="classnet_link_1_1_socket.html">Socket</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_link_1_1_msg_pack_socket.html#a937130fd4b536e8956a373c5a01f0f6e">SocketFactory</a> ()</td></tr>
<tr class="memdesc:a937130fd4b536e8956a373c5a01f0f6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generates new sockets for client connections of a server.  <br /></td></tr>
<tr class="separator:a937130fd4b536e8956a373c5a01f0f6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classnet_link_1_1_socket"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classnet_link_1_1_socket')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classnet_link_1_1_socket.html">netLink::Socket</a></td></tr>
<tr class="memitem:a2bfbb3d0188794023985874d08627e80 inherit pro_methods_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_link_1_1_socket.html#a2bfbb3d0188794023985874d08627e80">initSocket</a> (bool blocking)</td></tr>
<tr class="separator:a2bfbb3d0188794023985874d08627e80 inherit pro_methods_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d1495674002a06ef1c1ae68e9da99c4 inherit pro_methods_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">virtual std::shared_ptr&lt; <a class="el" href="classnet_link_1_1_socket.html">Socket</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_link_1_1_socket.html#a3d1495674002a06ef1c1ae68e9da99c4">SocketFactory</a> ()</td></tr>
<tr class="memdesc:a3d1495674002a06ef1c1ae68e9da99c4 inherit pro_methods_classnet_link_1_1_socket"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generates new sockets for client connections of a server.  <br /></td></tr>
<tr class="separator:a3d1495674002a06ef1c1ae68e9da99c4 inherit pro_methods_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="friends" name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a43e117b196c850619d5255046edb3e79"><td class="memItemLeft" align="right" valign="top"><a id="a43e117b196c850619d5255046edb3e79" name="a43e117b196c850619d5255046edb3e79"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>SocketManager</b></td></tr>
<tr class="separator:a43e117b196c850619d5255046edb3e79"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_classnet_link_1_1_socket"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classnet_link_1_1_socket')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classnet_link_1_1_socket.html">netLink::Socket</a></td></tr>
<tr class="memitem:adffee851ad5d6175260d1a49e9b032ee inherit pub_types_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_link_1_1_socket.html#adffee851ad5d6175260d1a49e9b032ee">IPVersion</a> { <a class="el" href="classnet_link_1_1_socket.html#adffee851ad5d6175260d1a49e9b032eea385f5ac57a81928cbf1c7945187f9269">IPv4</a>
, <a class="el" href="classnet_link_1_1_socket.html#adffee851ad5d6175260d1a49e9b032eea2cbc81b132e8fbb338add273608e8f16">IPv6</a>
, <a class="el" href="classnet_link_1_1_socket.html#adffee851ad5d6175260d1a49e9b032eea83ab5791fd32774ace37844076e133d8">ANY</a>
 }</td></tr>
<tr class="memdesc:adffee851ad5d6175260d1a49e9b032ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines the version of IP.  <a href="classnet_link_1_1_socket.html#adffee851ad5d6175260d1a49e9b032ee">More...</a><br /></td></tr>
<tr class="separator:adffee851ad5d6175260d1a49e9b032ee inherit pub_types_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9757ba19d83716e413fdc2ce324c53ed inherit pub_types_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_link_1_1_socket.html#a9757ba19d83716e413fdc2ce324c53ed">Type</a> { <br />
&#160;&#160;<a class="el" href="classnet_link_1_1_socket.html#a9757ba19d83716e413fdc2ce324c53eda8a060efa49fd569c2ee7599c928b7199">NONE</a>
, <a class="el" href="classnet_link_1_1_socket.html#a9757ba19d83716e413fdc2ce324c53eda5d0cd45a6d8e13841f930edcbce08c17">TCP_CLIENT</a>
, <a class="el" href="classnet_link_1_1_socket.html#a9757ba19d83716e413fdc2ce324c53edadf788f3c0b9c907d41bee0f9cce54811">TCP_SERVER</a>
, <a class="el" href="classnet_link_1_1_socket.html#a9757ba19d83716e413fdc2ce324c53edad3600deea9cb8f766608ca663a5e5927">TCP_SERVERS_CLIENT</a>
, <br />
&#160;&#160;<a class="el" href="classnet_link_1_1_socket.html#a9757ba19d83716e413fdc2ce324c53eda5dba91b6b6d82a48625f2f122ae9685f">UDP_PEER</a>
<br />
 }</td></tr>
<tr class="memdesc:a9757ba19d83716e413fdc2ce324c53ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines the nature of a socket.  <a href="classnet_link_1_1_socket.html#a9757ba19d83716e413fdc2ce324c53ed">More...</a><br /></td></tr>
<tr class="separator:a9757ba19d83716e413fdc2ce324c53ed inherit pub_types_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97d865489970e8bad3122107b819292e inherit pub_types_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnet_link_1_1_socket.html#a97d865489970e8bad3122107b819292e">Status</a> { <br />
&#160;&#160;<a class="el" href="classnet_link_1_1_socket.html#a97d865489970e8bad3122107b819292eae3bde61fcdbe3347ca8c17d80a37e0de">NOT_CONNECTED</a>
, <a class="el" href="classnet_link_1_1_socket.html#a97d865489970e8bad3122107b819292ea8eb8f577e20bf7765a4e7cfcc2adeac7">CONNECTING</a>
, <a class="el" href="classnet_link_1_1_socket.html#a97d865489970e8bad3122107b819292eaaf33c30de155cb6e92fb1f9b3f45f4ab">LISTENING</a>
, <a class="el" href="classnet_link_1_1_socket.html#a97d865489970e8bad3122107b819292ea1ab5bfd990fb958919b9dcac41c5a73f">READY</a>
, <br />
&#160;&#160;<a class="el" href="classnet_link_1_1_socket.html#a97d865489970e8bad3122107b819292ea0c9ded3ba9273962cf2cdc063d1a5481">BUSY</a>
<br />
 }</td></tr>
<tr class="memdesc:a97d865489970e8bad3122107b819292e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines the send status of a socket.  <a href="classnet_link_1_1_socket.html#a97d865489970e8bad3122107b819292e">More...</a><br /></td></tr>
<tr class="separator:a97d865489970e8bad3122107b819292e inherit pub_types_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classnet_link_1_1_socket"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classnet_link_1_1_socket')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classnet_link_1_1_socket.html">netLink::Socket</a></td></tr>
<tr class="memitem:aac1c17565a586bbff36ae95d5f00d4f3 inherit pro_attribs_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classnet_link_1_1_socket.html#adffee851ad5d6175260d1a49e9b032ee">IPVersion</a>&#160;</td><td class="memItemRight" valign="bottom"><b>ipVersion</b></td></tr>
<tr class="memdesc:aac1c17565a586bbff36ae95d5f00d4f3 inherit pro_attribs_classnet_link_1_1_socket"><td class="mdescLeft">&#160;</td><td class="mdescRight">IP version which is in use. <br /></td></tr>
<tr class="separator:aac1c17565a586bbff36ae95d5f00d4f3 inherit pro_attribs_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac75a94d671b640640567a71f6a45fc12 inherit pro_attribs_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classnet_link_1_1_socket.html#a9757ba19d83716e413fdc2ce324c53ed">Type</a>&#160;</td><td class="memItemRight" valign="bottom"><b>type</b></td></tr>
<tr class="memdesc:ac75a94d671b640640567a71f6a45fc12 inherit pro_attribs_classnet_link_1_1_socket"><td class="mdescLeft">&#160;</td><td class="mdescRight">Type of the socket. <br /></td></tr>
<tr class="separator:ac75a94d671b640640567a71f6a45fc12 inherit pro_attribs_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a073f10822632d93167ecd56f7779d893 inherit pro_attribs_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>status</b></td></tr>
<tr class="memdesc:a073f10822632d93167ecd56f7779d893 inherit pro_attribs_classnet_link_1_1_socket"><td class="mdescLeft">&#160;</td><td class="mdescRight">Or listen queue size if socket is TCP_SERVER. <br /></td></tr>
<tr class="separator:a073f10822632d93167ecd56f7779d893 inherit pro_attribs_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2da58e9b7c61f78aaad7675ba6b8d80 inherit pro_attribs_classnet_link_1_1_socket"><td class="memItemLeft" align="right" valign="top">
int&#160;</td><td class="memItemRight" valign="bottom"><b>handle</b></td></tr>
<tr class="memdesc:ae2da58e9b7c61f78aaad7675ba6b8d80 inherit pro_attribs_classnet_link_1_1_socket"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handle used for the system interface. <br /></td></tr>
<tr class="separator:ae2da58e9b7c61f78aaad7675ba6b8d80 inherit pro_attribs_classnet_link_1_1_socket"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classnet_link_1_1_socket.html" title="Socket and stream buffer.">Socket</a> with MsgPack abstraction layer. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a49a9f33a25e4fd1f775bf81980a21bc0" name="a49a9f33a25e4fd1f775bf81980a21bc0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49a9f33a25e4fd1f775bf81980a21bc0">&#9670;&#160;</a></span>operator&lt;&lt;()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnet_link_1_1_msg_pack_socket.html">MsgPackSocket</a> &amp; netLink::MsgPackSocket::operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">std::unique_ptr&lt; <a class="el" href="class_msg_pack_1_1_element.html">MsgPack::Element</a> &gt;&#160;</td>
          <td class="paramname"><em>element</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Pushes one <a class="el" href="class_msg_pack_1_1_element.html" title="Abstract class to represent one element in a MsgPack stream.">MsgPack::Element</a> in the queue. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">element</td><td>pointer containing the element </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a937130fd4b536e8956a373c5a01f0f6e" name="a937130fd4b536e8956a373c5a01f0f6e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a937130fd4b536e8956a373c5a01f0f6e">&#9670;&#160;</a></span>SocketFactory()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::shared_ptr&lt; <a class="el" href="classnet_link_1_1_socket.html">Socket</a> &gt; netLink::MsgPackSocket::SocketFactory </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Generates new sockets for client connections of a server. </p>

<p>Reimplemented from <a class="el" href="classnet_link_1_1_socket.html#a3d1495674002a06ef1c1ae68e9da99c4">netLink::Socket</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/<a class="el" href="_msg_pack_socket_8h_source.html">MsgPackSocket.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7
</small></address>
</body>
</html>
